/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.sorbonne.inf1.tp3.model.distant.protocole;

import fr.sorbonne.inf1.tp3.model.distant.protocole.exception.*;


/**
 *
 * @author Rich
 */
public interface InterfaceProtocoleClient {
    
        public void demandeCalculAnnuite(Double pMontant, int pNb_annee, Double pTaux) throws SendProtocolException;
        
        public void demandeCalculNbAnnees(Double pMontant, Double pTaux, int pAnnuite) throws SendProtocolException;

        public Double recuperer_resultat() throws AnnuiteException, ClassCastException,MontantException, TauxException,NbAnneesException,CalculAnnuiteException, ReceiveProtocolException;
        
        public void fermer() throws CloseProtocolException;
}
